package com.taotao.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @author wangjin
 * @title: WJConfig
 * @projectName wj-springboot-starter
 * @description:
 * @date 2021/10/27 21:31
 */
@ConfigurationProperties(prefix = "taotao")
@EnableConfigurationProperties({WJConfig.class})
/**
 * 项目引入文件读取文件开头
 * 开启自定义插件读取文件的配置类
 * 以上注解由spingboot提供
 */
public class WJConfig {
    private String url;

    public WJConfig() {
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
